
from django import forms
from models import Lad, ProxyAddress

class AddProxyAddressForm( forms.ModelForm ):
	class Meta:
		fields = ( 'addr', )
		model = ProxyAddress

class FilterLadsForm( forms.Form ):
	name_surname = forms.CharField( max_length = 60, required = False )
	figure_type = forms.CharField( max_length = 2, required = False )
	career = forms.CharField( max_length = 2, required = False )
	age__lte = forms.IntegerField( required = False )
	age__gte = forms.IntegerField( required = False )

class AddLadForm( forms.ModelForm ):
	class Meta:
		model = Lad
		exclude = ( 'thumbnail', 'slug', )